4.6 Setting up the database

This section contains information about setting up your database.

4.6.1 Database versions

SIU references: SIU-009, SIU-010, SIU-279.

MyID has been tested with the following SQL Server versions:

Note: Intercede supports the database versions listed above. If you are going to use different service packs or cumulative updates for these major versions than those listed above, make sure that you carry out additional testing within your environment. For production deployment, SQL Server Enterprise or Standard editions must be used. Do not use major versions that are not listed above (for example, SQL Server 2012) as these are not supported.

If you have multiple MyID application servers, you must have a Client Access License for SQL Server for each MyID application server.

MyID has also been tested using Microsoft Azure as the database. See the Microsoft Azure Integration Guide for details.

4.6.2 Database configuration considerations

SIU references: SIU-097, SIU-098, SIU-126.

If you are creating the MyID database using the installation program, and have selected the Windows authentication option, make sure the account you use to install the software has the correct permissions to create a database on your SQL Server.

If you are using SQL Server authentication, make sure the accounts you specify for the main MyID database and the authentication database have the appropriate permissions on your SQL Server, and that you have created your databases before installing MyID; see section 4.6.6, Configuring SQL Server for SQL Authentication.

If you are installing MyID into an already-created database (for example, when upgrading an existing system, or installing a new system where your DBA has already created an empty database), you do not need user permissions to create a database; however, you do need permissions to alter the schema. This means that you can remove the sysadmin permission from the installation user, as long as you make sure that the user has database-level db_owner permission instead. See section 6.1.1, Installation account for more information about permissions and default schema settings for existing databases.

Note: The SIU test SIU-097 queries the database to ensure that the installation user has the correct permissions. For this to happen, the user running the installation must have either the sysadmin role or the securityadmin role in SQL Server. If not, the test displays a warning.

Make sure your SQL Server is using English (United States) as the language. MyID supports only English (United States) for the connection to SQL Server. You can view the language used in SQL Server Management Studio – right-click the database, then select Properties from the pop-up menu.

See your Microsoft SQL Server documentation for further details.

4.6.3 Installing the database software

SIU references: SIU-092, SIU-093, SIU-096, SIU-296.

To install the database software:

  1. Install the following SQL Server packages on the MyID database server:

    • Database Engine Services.

      Note: You must install the SQL Server Full Text Search option. To confirm whether Full Text Search is installed, you can run the following query:

      SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')

      If this query returns 1, Full Text Search is installed. If this returns 0, you must add the feature before attempting to install MyID.

      Note: Under some circumstances, for example when setting up mirroring, the Full Text Search may stop indexing. See your Microsoft documentation for information on re-indexing the database.

    • Client Tools Connectivity.
  2. On the MyID application server, install the following:

    • Microsoft OLE DB Driver 19 for SQL Server (MSOLEDBSQL).

      This driver is available from Microsoft.

      Important: From MyID 12.6, you must have the Microsoft OLE DB Driver 19 for SQL Server (MSOLEDBSQL) installed. Previous versions of MyID from MyID 11.0 required Microsoft OLE DB Driver 18 for SQL Server; these versions are not compatible with each other. You must upgrade to Microsoft OLE DB Driver 19 for SQL Server before installing MyID. For more information about supported versions of the Microsoft OLE DB Driver, contact customer support quoting reference SUP-324.

      Note: You must install the Microsoft Visual C++ Redistributable before installing the Microsoft OLE DB Driver 19 for SQL Server.

    • SQL Server Native Client 11

      This is available in the SQL Server Feature Pack.

    You must also make sure that the OLE DB Driver and Native Client are installed on the PC on which you run the database component of the installation program. For simplicity, you can run the database component of the installation program from the MyID application server.

    If you are using the standalone authentication service (web.oauth2.ext) you must make sure that the OLE DB Driver and Native Client are installed on the server onto which you want to install this service.

Note: Install only one instance of the MyID database. You can choose to install the database from the database server or the application server, but do not run the installation from both.

4.6.4 SQL Server services

SIU references: SIU-153, SIU-219, SIU-220, SIU-221, SIU-222.

You must make sure that the following SQL Server services are installed and running on the MyID database server:

These services are part of an installation of SQL Server.

4.6.5 Running SIU tests against the database

SIU reference: SIU-022

You must have the SqlServer PowerShell module installed on the server from which the database is installed. This module is required to run the SIU tests against the database. If the SqlServer module is not installed, but the SQLPS module is installed, the tests can still run, but as this module is no longer maintained, test SIU-022 displays a warning.

Note: If you are using the SQLPS module, you must make sure that the module is trusted; alternatively, you can run the MyID Installation Assistant from a PowerShell command window to give you the opportunity to run the untrusted module. However, you are recommended to use the SqlServer PowerShell module instead.

4.6.6 Configuring SQL Server for SQL Authentication

If you intend to use SQL authentication rather than Windows authentication to secure the connection to the MyID database, before you begin the MyID installation, you must have: